const template = require('art-template');

const path = require('path');
let views = path.join(__dirname, 'views', '1.art');

let html = template(views, {
    name: '肥龙',
    age: 20,
    merit: '很肥',
    hello: '<h3>hello,我是肥龙</h3>'
});

console.log(html);